let _state = {
    menuCollapsed: false,
    noticeList: {
        notice: [{
            type: 1,
            title: "你收到了 14 份新周报",
            year: "4 年前"
        }, {
            type: 2,
            title: "你推荐的 曲妮妮 已通过第三轮面试",
            year: "4 年前"
        }, {
            type: 3,
            title: "这种模板可以区分多种通知类型",
            year: "4 年前"
        }, {
            type: 4,
            title: "你收到了 14 份新周报",
            year: "4 年前"
        }],
        news: [],
        agent: [],
    }
}

const APPredux = (state = _state, action) => {
    let newState = {
        ...state
    };
    switch (action.type) {
        case 'MENU_COLLAPSED_CHANGE':
            newState.menuCollapsed = action.status
            break;
        default:

    }
    return newState
}
export default APPredux